using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
using CommonTools;

namespace shop.Model
{

	
	public class JBank : IFastTree
	{
		[Column(IsIgnore =true)]
		public string NodeText => this.Code + " " + this.Name + " " + this.ShortNumber;



		[Column(IsPrimary = true, IsIdentity = true)]
		public int ID { get; set; }

		/// <summary> 账户 </summary>
		[Column(StringLength =100 )]
		public string Account { get; set; }

		/// <summary> 代码 </summary>
		[Column(StringLength =20 )]
		public string Code { get; set; }

		/// <summary> 所属公司名称 </summary>
		[Column(StringLength =100 )]
		public string Company { get; set; }

		/// <summary> 联系人 </summary>
		[Column(StringLength =20 )]
		public string Contact { get; set; }

		/// <summary> 审核 </summary>
		public bool? IsCheck { get; set; } = false;

		public bool? Isdel { get; set; } = false;

		/// <summary> 明细 </summary>
		public bool? IsDetails { get; set; } = true;

		/// <summary> 禁用 </summary>
		public bool? IsDisabled { get; set; } = false;

		/// <summary> 含税标记 </summary>
		[VarChar(1)]
		public string IsTax { get; set; }

		/// <summary> 手机 </summary>
		[Column(StringLength =20)]
		public string Mobile { get; set; }

		/// <summary> 名称 </summary>
		[Column(StringLength =50 )]
		public string Name { get; set; }

		/// <summary> 联系电话 </summary>
		[Column(StringLength =50)]
		public string Phone { get; set; }

		/// <summary> 备注 </summary>
		[Column(StringLength =100 )]
		public string Remarks { get; set; }

		/// <summary> 银行简称 </summary>
		[Column(StringLength =100 )]
		public string ShortName { get; set; }

		/// <summary> 简码 </summary>
		[Column(StringLength =20 )]
		public string ShortNumber { get; set; }

		/// <summary> 类型 </summary>
		[VarChar(20)]
		public string Type { get; set; }

	}

}
